/*
 * 列表页面公共样式
 */
// 搜索表单
.search-wrapper {
  display: flex;
  padding: 20px 20px 0 20px;
  margin-bottom: 16px;
  background-color: $white-color;

  .search-conditions {
    flex: 1;
  }

  .search-btns {
    width: 128px;
    margin-left: 0px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-end;

    .el-button {
      width: 82px;
    }

    &::before {
      position: absolute;
      content: '';
      display: inline-block;
      width: 1px;
      background-color: #eaeaea;
      left: 26px;
      height: calc(100% - 18px);
    }

    .reset-btn {
      margin-left: 0;
      margin-top: 18px;
    }

    &.directionRow {
      flex-direction: row;
      width: 126px;
      height: 36px;
      padding-left: 46px;

      &::before {
        height: 36px;
      }

      .reset-btn {
        margin-top: 0;
        margin-left: 8px;
      }
    }




  }

  .el-select {
    flex: 1;
  }
}

// 表格容器
.table-wrapper {
  .table-operates-left {
    display: flex;
    padding: 20px 20px 16px 20px;
    background-color: $white-color;

    .right-btn {
      margin-left: 10px;
    }
  }

  .table-operates-right {
    display: flex;
    justify-content: right;
    padding: 20px 20px 16px 20px;
    background-color: $white-color;
  }

  .table-hint {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 16px 0;
    background-color: $white-color;
    line-height: 32px;

    .hint-left {
      width: 800px;
      font-size: 16px;
      font-weight: bold;
      display: flex;
      align-items: center;
      white-space: nowrap;

      >span {
        margin-right: 8px;
      }
    }

    .hint-right {
      display: flex;

      >span {
        margin-right: 20px;
        color: $light-color;
      }
    }
  }

  .table-content {
    padding: 0 20px;
    background-color: $white-color;

    .customer-content {
      display: flex;

      .customer-content-right {
        margin-left: 16px;
      }

      .customer-name {
        font-size: 16px;
        color: #010205;
      }

      .customer-info {
        display: flex;
        align-items: center;
      }

      .customer-sex {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .customer-wechat {
        margin-left: 6px;
        font-size: 12px;
        color: $green-color;
        line-height: 16px;
      }
    }
  }

  :deep(.el-table th) {
    color: $base-color;
    font-weight: 500;
    background-color: #eeeff2;
  }

  .link-operates {

    .el-link {
      margin-left: 16px !important;
      font-weight: normal;
      white-space: nowrap;

      &.el-link--primary {
        color: #2762ec;
      }

      &:first-child {
        margin-left: 0 !important;
      }
    }

    .cell {
      white-space: nowrap;
      overflow: visible;
    }

    .el-link--danger {
      color: #575460 ;
    }
  }
}

// 分页容器
.pagination-wrapper {
  padding: 16px 20px 20px 20px;
  display: flex;
  justify-content: right;
  background-color: $white-color;
}